﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL_HealthInsurance;

namespace HealthInsuranceMgm.Admin
{
    public partial class SearchInsurance : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnsearch_Click(object sender, EventArgs e)
        {
            BLLCompany obj = new BLLCompany();
            string companyName = txtcompanyName.Text;
            string address = txtAddress.Text;
            grvcompany.DataSource = obj.searchcompany(companyName,address);
            grvcompany.DataBind();
        }
    }
}